import legacyPlugin from "vite-plugin-legacy";
export default defineNuxtConfig({
  devtools: { enabled: true },
  modules: ["usebootstrap", "@element-plus/nuxt",'@pinia/nuxt'],
  usebootstrap: {
    bootstrap: {
      prefix: ``,
    },
    html: {
      prefix: `B`,
    },
  },
  postcss: {
    plugins: {
      tailwindcss: {},
      autoprefixer: {},
    },
  },

  css: ["bootstrap/scss/bootstrap.scss", "~/assets/css/main.css"],
  plugins: ["~/plugins/bootstrap.js"],
});
